* src/sfntfont-android.c (init_sfntfont_android): Fix SDK check.
authorPo Lu <luangruo@yahoo.com>
Fri, 15 Mar 2024 03:50:09 +0000 (11:50 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 15 Mar 2024 03:52:11 +0000 (11:52 +0800)
src/sfntfont-android.c

index 94aedd0cd66469327f1712bee16b2ee5ef0bcf18..1ed394b94585e731bf7d2c25346221e76a0e3b1a 100644 (file)
@@ -770,7 +770,7 @@ init_sfntfont_android (void)
                      build_string ("Roboto")),
               Fcons (build_string ("DejaVu Serif"),
                      build_string ("Noto Serif")));
-  else if (api_level >= 15)
+  else if (api_level >= 14)
     /* Android 4.0 and later distribute Roboto in lieu of Droid
        Sans.  */
     Vsfnt_default_family_alist